#ifndef UDP_MAKER_H
#define UDP_MAKER_H
#include "../common/utility.h"
struct fake_udp_head
{
    uint8_t sip[4];
    uint8_t dip[4];
    uint8_t zero;
    uint8_t udp_proto_type;
    uint16_t udp_len;
} __attribute__((__packed__));
char *udp_maker(const uint16_t dport, const uint16_t sport,
    const uint16_t len, const uint8_t *buf,
    const int buf_len, const uint8_t *sip,
    const uint8_t *dip);
uint16_t pck_checksum(const void * buf,const int buf_len);
#endif